package bandidong.dao;

import bandidong.model.Orders;
import bandidong.transfermodel.SearchOrdersTransferModel;
import java.util.List;

public interface OrdersDAO {
    public List<Orders> getAllOrders();
    public Orders getOrderById(int orderId);
    public Orders addOrder(Orders order);
    public String updateOrder(Orders order);
    public String deleteOrder(Orders order);
    public List<Orders> getOrdersCriteria(SearchOrdersTransferModel model, int page, int pageSize);
    public List<Orders> getOrdersCriteria(SearchOrdersTransferModel model);
}
